﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
namespace TileEngine
{
    [Serializable]
    public class LayerData
    {
        private int m_layer;
        private int m_rotation;
        private Color m_color;
        private string m_name;

        public int Layer
        {
            get { return m_layer; }
            set { m_layer = value; }
        }

        public int Rotation
        {
            get { return m_rotation; }
            set { m_rotation = value; }
        }

        public Color Color
        {
            get { return m_color; }
            set { m_color = value; }
        }

        public string Name
        {
            get { return m_name; }
            set { m_name = value; }
        }

        public LayerData()
        {
            m_layer = 0;
            m_rotation = 0;
            m_color = Color.White;
            m_name = "";
        }

        public LayerData(int a_layer, int a_rotation, Color a_color, string a_name)
        {
            m_layer = a_layer;
            m_rotation = a_rotation;
            m_color = a_color;
            m_name = a_name;
        }
    }
}
